<?php

class UserViewModel extends ViewModel{
    //put your code here
    public $viewFields = array(
        'user' => array('uid','username','uname','qqname','thump'),
        'userinfo' => array('city','home','about','web','_on'=>"user.uid=userinfo.pid")
    );
}

?>
